home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-01 | 27.8 KB | 1,146 lines |
- name Agie EDM 2 Axis
-
- B 00 %
- L >4
- N 3
- G 2
- X -2>5 Inc
- x -2>5 X
- Y -2>5 Inc
- y -2>5 Y
- Z -3>4 Inc
- I 2>5
- J 2>5
- D >2
- T >2
- Q ->3.>4
- R ->3.>4
- M 2
- g 2 G
-
- ModalGs # List of g codes that are modal
-
- ModalLetters # List of letters that are modal
-
- Sequence#s N 1 1 1 # Char, freq, incr & start
- Spaces? N # Y or N 'Spaces between words
- First#? N # Y or N 'Output 1st sequence no.
-
- HCode X # X or X U 'Horizontal char.
- VCode Y # Y or Y V 'Vertical char.
-
- Spindle 3 4 5 # Cw, ccw & stop m codes
- Coolant 8 9 7 # On, Off & Mist m codes
- DComp 41 42 40 # Left, Right & Cancel m codes
-
- Incremental? Y # Y or N 'Inc or abs output
- CtrIncremental? Y # Y or N 'Inc or abs I & J
- ByQuadrants? Y # Y or N 'Break arcs at quadrants
-
- Inc/Abs G 91 90 # Inc & Abs char. & values
-
- Work G # Work offset register
-
- CtrCode I J # I J or R or I J K L
-
- Feed G1 # Linear move
- Rapid G0 # Rapid positioning word
- Cw G2 # Circular move clockwise
- Ccw G3 # Circular move counter clockwise
-
- Tolerance .0001
-
- UppercaseComments? Y # Y or N 'Require uppercase comments
-
- StartCode # Start of the program
- B00
- End
-
- 1stToolChange # First tool change
- G1 X[H] Y[V]
- D[DComp] T[Tool] g43
- End
-
- RapidCode # Move between cuts.
- G1 X[H] Y[V]
- D[DComp] T[Tool] g43
- End
-
- Infeed # Enable cutter comp
- G1 x[HVector] y[VVector] g44
- G1 X[H] Y[V] g40
- end
-
- LineCode
- G1 X[H] Y[V] g[Side]
- end
-
- Outfeed # Disable cutter comp
- G1 x[HVector] y[VVector] g44
- G1 X[H] Y[V] g40
- G45
- end
-
- ToolChange # Secondary tool changes
- End
-
- EndCode # End of the program
- M2
- B00
- End
-
- name Charmilles EDM 2 Axis
-
- B 00 %
- L >4
- N 3
- G 2
- X -2>5
- Y -2>5
- Z -3>4
- I 2>5
- J 2>5
- Q ->3.>4
- R ->3.>4
- P ->3.>4
- K ->3.>4
- H >2
- D >2
- T >2
- M 2
- S >4
-
- ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85 # List of g codes that are modal
-
- ModalLetters # List of letters that are modal
-
- Sequence#s N 1 1 1 # Char, freq, incr & start
- Spaces? N # Y or N 'Spaces between words
- First#? N # Y or N 'Output 1st sequence no.
-
- HCode X # X or X U 'Horizontal char.
- VCode Y # Y or Y V 'Vertical char.
-
- Comment ( ) # Begin End comment char.
-
- Spindle 3 4 5 # Cw, ccw & stop m codes
- Coolant 8 9 7 # On, Off & Mist m codes
- DComp 41 42 40 # Left, Right & Cancel m codes
-
- Incremental? Y # Y or N 'Inc or abs output
- CtrIncremental? Y # Y or N 'Inc or abs I & J
- ByQuadrants? Y # Y or N 'Break arcs at quadrants
-
- Inc/Abs G 91 90 # Inc & Abs char. & values
-
- Work G # Work offset register
-
- CtrCode I J # I J or R or I J K L
-
- Feed G1 # Linear move
- Rapid G0 # Rapid positioning word
- Cw G2 # Circular move clockwise
- Ccw G3 # Circular move counter clockwise
-
- Tolerance .0001
-
- UppercaseComments? Y # Y or N 'Require uppercase comments
-
- StartCode # Start of the program
- B00
- End
-
- 1stToolChange # First tool change
- End
-
- Infeed # Enable cutter comp
- G[Side] X[H] Y[V] D[DComp]
- end
-
- Outfeed # Disable cutter comp
- G40 X[H] Y[V]
- end
-
- ToolChange # Secondary tool changes
- End
-
- EndCode # End of the program
- M2
- B00
- End
-
- name Elox EDM
-
- % 00
- O 4
- N >4
- G 2
- X ->3.>5
- Y ->3.>5
- I ->3.>5
- J ->3.>5
- F >1.3
- H 2
- M 2
-
- ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85
-
- Sequence#s N 1 1 1
- First#? N
- Last#? N
-
- HCode X
- VCode Y
- FeedCode F
-
- Comment ( )
-
- Work G
-
- Spindle 3 4 5
- Coolant 8 9 7
- DComp 41 42 40
- LComp 43 49
-
- CtrIncremental? Y
- ByQuadrants? N
- CtrCode I J
- Spaces? Y
-
- Feed G1
- Rapid G0
- Cw G2
- Ccw G3
-
- Tolerance .0001
-
- StartCode
- %0
- O[Program#]
- G90 G92 X0 Y0
- End
-
- 1stToolChange
- G0 X[H] Y[V]
- End
-
- Infeed
- G[Side] X[H] Y[V] H[DComp] F[FRate]
- end
-
- Outfeed
- G1 G40 X[H] Y[V]
- end
-
- ToolChange
- G0 X[H] Y[V]
- End
-
- EndCode
- G0 G90
- X0 Y0
- M30
- %0
- End
-
- name Generic EDM
-
- % 00
- ! 00
- O 4
- N >4
- G 2
- X ->3.>4
- Y ->3.>4
- I ->3.>4
- J ->3.>4
- F >3.2
- D 2
- M 2
-
- ModalLetters X Y Z F R # List of letters that are modal
-
- ModalGs 0 1 2 3 # List of g codes that are modal
-
- Sequence#s N 0 1 1 # Char, freq, incr & start
- First#? N # Y or N 'Output 1st sequence no.
- Last#? N # Y or N 'Output last sequence no.
-
- HCode X # X or X U 'Horizontal char.
- VCode Y # Y or Y V 'Vertical char.
- FeedCode F # Feed rate char.
-
- Comment ( ) # Begin End comment char.
-
- DComp 41 42 40 # Left, Right & Cancel m codes
- LComp 43 49 # On & Off codes
-
- Feed G1 # Linear move
- Rapid G0 # Rapid positioning word
- Cw G2 # Circular move clockwise
- Ccw G3 # Circular move counter clockwise
-
- Inc/Abs G 91 90 # Inc & Abs char. & values
- Inch/MM 70 71 # Inch & Metric g codes
-
- CtrCode I J # I J or R or I J K L
- CtrIncremental? Y # Y or N 'Inc or abs I & J
- ByQuadrants? N # Y or N 'Break arcs at quadrants
-
- Spaces? N # Y or N 'Spaces between words
- Incremental? N # Y or N 'Inc or abs output
-
- #Work G
-
- UppercaseComments? Y # Y or N 'Require uppercase comments
-
- #MaxRad 999 .0005 # Chordal breakdown value
- #ArcWithSame? N # Support XY/UV arc records
- #ArcWithLine? N # Support UV arc records
-
- Tolerance .0001
-
- StartCode # Start of the program
- %0
- !0 O[Program#]
- End
-
- 1stToolChange # First tool change
- G0 G92 X0 Y0
- X[H] Y[V]
- End
-
- Infeed # Enable cutter comp
- G[Side] X[H] Y[V] D[Dcomp]
- end
-
- Outfeed # Disable cutter comp
- G1 G40 X[H] Y[V]
- end
-
- ToolChange # Secondary tool changes
- M1
- G0 X[H] Y[V]
- End
-
- EndCode # End of the program
- M30
- %0
- End
-
- #LineCode
- #G1 X[H] Y[V] F[Frate]
- #End
-
- #RapidCode
- #G0 X[H] Y[V]
- #End
-
- #CcwCode
- #G3 X[H] Y[V] I[Ival] J[Jval] F[Frate]
- #End
-
- #CwCode
- #G2 X[H] Y[V] I[Ival] J[Jval] F[Frate]
- #End
-
- #Upon
- #End
-
- name Japax EDM
-
- % 00
- / 00
- O >4
- N >4
- G >2
- X ->3.>4
- Y ->3.>4
- Z ->3.>4
- A ->3.>4
- I ->3.>4
- J ->3.>4
- K ->3.>4
- Q ->3.>4
- R ->3.>4
- P >40
- F >3.1
- H >2
- D >2
- T >2
- M >2
- S >4
-
- ModalLetters X Y Z F R # List of letters that are modal
-
- ModalGs # List of g codes that are modal
-
- Sequence#s N 0 1 1 # Char, freq, incr & start
- First#? N # Y or N 'Output 1st sequence no.
- Last#? N # Y or N 'Output last sequence no.
-
- HCode X # X or X U 'Horizontal char.
- VCode Y # Y or Y V 'Vertical char.
- Dcode Z # Depth char.
- FeedCode F # Feed rate char.
-
- Comment ( ) # Begin End comment char.
-
- Coolant 8 9 7 # On, Off & Mist m codes
- DComp 41 42 40 # Left, Right & Cancel m codes
- LComp 43 49 # On & Off codes
-
- Feed G1 # Linear move
- Rapid G0 # Rapid positioning word
- Cw G2 # Circular move clockwise
- Ccw G3 # Circular move counter clockwise
-
- Inc/Abs G 91 90 # Inc & Abs char. & values
-
- Work G # Work offset register
-
- CtrCode I J # I J or R or I J K L
-
- Spaces? N # Y or N 'Spaces between words
-
- Incremental? N # Y or N 'Inc or abs output
- CtrIncremental? Y # Y or N 'Inc or abs I & J
- ByQuadrants? N # Y or N 'Break arcs at quadrants
-
- Inch/MM 20 21 # Inch & Metric g codes
-
- UppercaseComments? Y # Y or N 'Require uppercase comments
-
- Tolerance .0001
-
- StartCode # Start of the program
- %0
- G[Unitmode]
- G92 X0 Y0
- End
-
- 1stToolChange # First tool change
- G0 X[H] Y[V]
- End
-
- Infeed # Enable cutter comp
- G[Side] X[H] Y[V] A[Lcomp] D[Dcomp]
- end
-
- Outfeed # Disable cutter comp
- G1 G40 X[H] Y[V]
- end
-
- ToolChange # Secondary tool changes
- G0
- M1
- M[Direct] S[Speed]
- G0 X[H] Y[V]
- End
-
- EndCode # End of the program
- A0 D0
- G40 M02
- %0
- End
-
- name Mitsubishi H Series EDM
-
- % 00
- / 00
- L >4
- N >4
- G 2
- X ->3.>4
- Y ->3.>4
- Z ->3.>4
- I ->3.>4
- J ->3.>4
- K ->3.>4
- A +->3.>3
- E >3
- P >40
- F >3.1
- H >3
- D >2
- M >2
-
- ModalLetters X Y Z F # List of letters that are modal
-
- ModalGs 0 1 2 3 # List of g codes that are modal
-
- Sequence#s N 1 1 1 # Char, freq, incr & start
- First#? N # Y or N 'Output 1st sequence no.
- Last#? N # Y or N 'Output last sequence no.
-
- HCode X # X or X U 'Horizontal char.
- VCode Y # Y or Y V 'Vertical char.
- Dcode Z # Depth char.
- FeedCode F # Feed rate char.
-
- Comment ( ) # Begin End comment char.
-
- Coolant 8 9 7 # On, Off & Mist m codes
- DComp 41 42 40 # Left, Right & Cancel m codes
-
- Feed G1 # Linear move
- Rapid G0 # Rapid positioning word
- Cw G02 # Circular move clockwise
- Ccw G03 # Circular move counter clockwise
-
- Inc/Abs G 91 90 # Inc & Abs char. & values
-
- Work G # Work offset register
-
- CtrCode I J # I J or R or I J K L
-
- Spaces? Y # Y or N 'Spaces between words
-
- Incremental? N # Y or N 'Inc or abs output
- CtrIncremental? Y # Y or N 'Inc or abs I & J
- ByQuadrants? N # Y or N 'Break arcs at quadrants
-
- UppercaseComments? Y # Y or N 'Require uppercase comments
-
- Tolerance .0001
-
- StartCode # Start of the program
- %0
- L[Program#]
- G90
- G92 X[WorkH] Y[WorkV]
- End
-
- 1stToolChange # First tool change
- E[Tool]
- M80
- M82
- M84
- end
-
- Infeed # Enable cutter comp
- G[Side] X[H] Y[V] F[FRate] H[DComp] M90
- end
-
- Outfeed # Disable cutter comp
- G1 G40 X[H] Y[V] F20.0 M91
- end
-
- ToolChange # Secondary tool changes
- M00
- G90
- G92 X[WorkH] Y[WorkV]
- E[Tool]
- M80
- M82
- M84
- End
-
- EndCode # End of the program
- M02
- %0
- End
-
- name Sodick EDM
-
- : >4
- N 4
- G 2
- g 2 G
- X ->3.>4
- Y ->3.>4
- Z ->3.>4
- A >3.>4
- I ->3.>3
- J ->3.>3
- Q >4
- R ->3.>4
- P 4
- F >3.>2
- H >4
- D >2
- T 2
- M 2
- S >4
- C 3
- L >2
-
- ModalGs 0 1 2 3 # List of g codes that are modal
-
- Sequence#s N 1 5 5 # Char, freq, incr & start
- First#? N # Y or N 'Output 1st sequence no.
- Last#? N # Y or N 'Output last sequence no.
-
- HCode X # X or X U 'Horizontal char.
- VCode Y # Y or Y V 'Vertical char.
- Feedcode F # Feed rate char.
- Comment ' # Begin End comment char.
-
- Spindle 3 4 5 # Cw, ccw & stop m codes
- Coolant 17 27 17 # On, Off & Mist m codes
- DComp 41 42 40 # Left, Right & Cancel m codes
- LComp 43 49 # On & Off codes
-
- Feed G1 # Linear move
- Rapid G0 # Rapid positioning word
- Cw G2 # Circular move clockwise
- Ccw G3 # Circular move counter clockwise
-
- Inc/Abs G 91 90 # Inc & Abs char. & values
-
- CtrCode I J # I J or R or I J K L
-
- Spaces? N # Y or N 'Spaces between words
-
- Incremental? N # Y or N 'Inc or abs output
- CtrIncremental? Y # Y or N 'Inc or abs I & J
- ByQuadrants? N # Y or N 'Break arcs at quadrants
-
- UppercaseComments? Y # Y or N 'Require uppercase comments
-
- Tolerance .0001
-
- StartCode # Start of the program
- :[Program#]
- G90
- End
-
- 1stToolChange # First tool change
- G[Work]
- G92 X0 Y0
- C207
- G40 H0
- G50 A0
- End
-
- Infeed # Enable cutter comp
- G[Side] X[H] Y[V]
- end
-
- Outfeed # Disable cutter comp
- G40 G50 G1 X[H] Y[V]
- end
-
- ToolChange # Secondary tool changes
- g91 M5
- T90
- M00
- G90
- G0 X[H] Y[V]
- M00
- End
-
- EndCode # End of the program
- M2
- M99
- End
-
- name Charmilles EDM 4 Axis
-
- % 00
- O >4
- N >4
- G 2
- X ->3.>5
- Y ->3.>5
- U ->3.>5 IncFrom X
- V ->3.>5 IncFrom Y
- u ->3.>5 U
- v ->3.>5 V
- H >2
- M >2
- F 00 ""
- W ->3.>5
- R ->3.>5
- g 2 G
- D >2
-
- ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85 # List of g codes that are modal
-
- Sequence#s N 1 5 5 # Char, freq, incr & start
- First#? N # Y or N 'Output 1st sequence no.
- Last#? Y # Y or N 'Output last sequence no.
-
- HCode X U # X or X U 'Horizontal char.
- VCode Y V # Y or Y V 'Vertical char.
- FeedCode F # Feed rate char.
-
- Comment ( ) # Begin End comment char.
-
- Coolant 8 9 7 # On, Off & Mist m codes
- DComp 41 42 40 # Left, Right & Cancel m codes
- LComp 43 49 # On & Off codes
-
- CtrIncremental? N # Y or N 'Inc or abs I & J
- ByQuadrants? N # Y or N 'Break arcs at quadrants
-
- Inc/Abs G 91 90 # Inc & Abs char. & values
-
- Work G # Work offset register
-
- Feed G1 # Linear move
- Rapid G0 # Rapid positioning word
- Cw G2 # Circular move clockwise
- Ccw G3 # Circular move counter clockwise
-
- CtrCode I J K L
-
- Inch/MM 70 71 # Inch & Metric g codes
-
- UppercaseComments? Y # Y or N 'Require uppercase comments
-
- MaxRad 999 .0005 # Chordal breakdown value
- ArcWithSame? N # Support XY/UV arc records
- ArcWithLine? N # Support UV arc records
-
- Tolerance .0001
-
- StartCode # Start of the program
- %0
- End
-
- 1stToolChange # First tool change
- G92 G[Unitmode] X[H] Y[V] W[Val1] R[Val2]
- End
-
- Infeed # Enable cutter comp
- G1 X[H] Y[V] U[H2] V[V2] g[Side] D[Val3]
- end
-
- Outfeed # Disable cutter comp
- G40
- end
-
- ToolChange # Secondary tool changes
- End
-
- EndCode # End of the program
- M2
- End
-
- ASK [Val1] " WHAT IS THE Z PLANE OF THE X-Y CONTOUR?"
- ASK [Val2] " WHAT IS THE Z PLANE OF THE U-V CONTOUR?"
- ASK [Val3] " WHAT IS THE DIAMETER OFFSET NUMBER?"
-
- name Elox EDM 4 Axis
-
- % 00
- O >4
- N >4
- G >2
- X ->3.>5
- Y ->3.>5
- U ->3.>5 IncFrom X
- V ->3.>5 IncFrom Y
- I ->3.>5
- J ->3.>5
- K ->3.>5 IncFrom U
- L ->3.>5 IncFrom V
- F >3.1
- H >2
- M >2
-
- MaxRad 999 .0005 # Chordal breakdown value
- ArcWithSame? Y # Support XY/UV arc records
- ArcWithLine? N # Support UV arc records
-
- ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85
-
- Sequence#s N 1 1 1
- First#? N
- Last#? N
-
- HCode X U
- VCode Y V
- FeedCode F
-
- Comment ( )
-
- Spindle 3 4 5
- Coolant 8 9 7
- DComp 41 42 40
- LComp 43 49
-
- Spaces? Y
-
- CtrIncremental? Y
- ByQuadrants? N
- CtrCode I J K L
-
- Feed G1
- Rapid G0
- Cw G2
- Ccw G3
-
- Work G
-
- Tolerance .0001
-
- StartCode
- %0
- O[Program#]
- G90 G18
- G92 X0 Y0
- End
-
- 1stToolChange
- G0 X[H] Y[V]
- End
-
- CWCode
- G2 I[Ival] J[Jval] X[H] Y[V]
- End
-
- CcWCode
- G3 I[Ival] J[Jval] X[H] Y[V]
- End
-
- Infeed
- G[Side] X[H] Y[V] H[DComp] F[FRate]
- End
-
- Outfeed
- G1 G40 X[H] Y[V]
- end
-
- ToolChange
- G0 X[H] Y[V]
- End
-
- EndCode
- G0 G90
- X0 Y0
- M30
- %0
- End
-
- name Japax EDM 4 Axis
-
- % 00
- / 00
- O >4
- N >4
- G >2
- X ->3.>4
- Y ->3.>4
- I ->3.>4
- J ->3.>4
- K ->3.>4
- L ->3.>4
- U ->3.>5 IncFrom X
- V ->3.>5 IncFrom Y
- A ->3.>4
- Q ->3.>4
- R ->3.>4
- P >40
- F >1.3
- H >2
- D >2
- T >2
- M >2
- S >4
-
- ModalLetters X Y Z F R # List of letters that are modal
-
- ModalGs # List of g codes that are modal
-
- Sequence#s N 0 1 1 # Char, freq, incr & start
- First#? N # Y or N 'Output 1st sequence no.
- Last#? N # Y or N 'Output last sequence no.
-
- HCode X U # X or X U 'Horizontal char.
- VCode Y V # Y or Y V 'Vertical char.
- FeedCode F # Feed rate char.
-
- Comment ( ) # Begin End comment char.
-
- Coolant 8 9 7 # On, Off & Mist m codes
- DComp 41 42 40 # Left, Right & Cancel m codes
- LComp 43 49 # On & Off codes
-
- Feed G1 # Linear move
- Rapid G0 # Rapid positioning word
- Cw G2 # Circular move clockwise
- Ccw G3 # Circular move counter clockwise
-
- Inc/Abs G 91 90 # Inc & Abs char. & values
-
- Work G # Work offset register
-
- Spaces? Y # Y or N 'Spaces between words
-
- Incremental? N # Y or N 'Inc or abs output
- CtrIncremental? Y # Y or N 'Inc or abs I & J
- ByQuadrants? N # Y or N 'Break arcs at quadrants
- CtrCode I J K L
-
- Inch/MM 20 21 # Inch & Metric g codes
-
- UppercaseComments? Y # Y or N 'Require uppercase comments
-
- MaxRad 999 .0005 # Chordal breakdown value
- ArcWithSame? N # Support XY/UV arc records
- ArcWithLine? N # Support UV arc records
-
- Tolerance .0001
-
- StartCode # Start of the program
- %0
- G[Unitmode]
- G92 X0 Y0
- End
-
- 1stToolChange # First tool change
- G0 X[H] Y[V]
- End
-
- Infeed # Enable cutter comp
- G[Side] X[H] Y[V] U[H2] V[V2] A[Lcomp] D[Dcomp]
- end
-
- Outfeed # Disable cutter comp
- G1 G40 X[H] Y[V] U[H2] V[V2]
- end
-
- ToolChange # Secondary tool changes
- G0
- M1
- M[Direct] S[Speed]
- G0 X[H] Y[V]
- End
-
- EndCode # End of the program
- A0 D0
- G40 M02
- %0
- End
-
- name Mitsubishi 4 Axis
-
- % 00
- a >1 Z
- b ->3.>5 =
- c >1 Z
- d ->3.>5 =
- e >1 Z
- f ->3.>5 =
- O >4
- N >4
- G >2
- X ->3.>5
- x ->3.>5 U IncFrom X
- Y ->3.>5
- y ->3.>5 V IncFrom Y
- H ->3.>5 Mult -1 { HDist}
- V ->3.>5 Mult -1 { VDist}
- h ->3.>5
- v ->3.>5
- Z >2
- u 00 "" # to hold last U, V...
- v 00 ""
- A 00 "" Mult -1 # to Hold HDist, VDist...
- B 00 "" Mult -1
- U ->3.>5 IncFrom u Add A
- V ->3.>5 IncFrom v Add B
- I ->3.>5
- J ->3.>5
- K ->3.>5 IncFrom U
- L ->3.>5 IncFrom V
- E >2
- F >3.1
- h >2 F
- H >2
- = ->3.>5
- M >2
-
- ModalLetters F
-
- MaxRad 999 .0005 # Chordal breakdown value
- ArcWithSame? Y # Support XY/UV arc records
- ArcWithLine? N # Support UV arc records
-
- ModalGs
-
- Sequence#s N 0 1 1 Letter, freq, incr, start.
- First#? N
- Last#? N
-
- HCode X U
- VCode Y V
- FeedCode F
-
- Comment ( )
-
- Spindle 3 4 5
- Coolant 8 9 7
- DComp 41 42 40
- LComp 43 49
-
- Spaces? Y
-
- CtrIncremental? Y
- ByQuadrants? N
- CtrCode I J K L
-
- Feed G<1>
- Rapid G<0>
- Cw G<2>
- Ccw G<3>
-
- Work G
-
- Ask <Val1> "What is your `Z1' value?" "50"
- Ask <Val2> "What is your `Z2' value?" "25"
- Ask <Val3> "What is your `Z5' value?" "0"
- Ask <Val4> "What is your `H1' value?" "200"
-
- Tolerance .0001
-
- StartCode
- %<0>
- a<1> b<Val1> c<2> d<Val2> e<5> f<Val3>
- H<1> =<Val4>
- G<90>
- E<1> h<1> H<1>
- G<92> X<0> Y<0>
- End
-
-
- CWCode
- G<2> I<Ival> J<Jval> X<H> Y<V>
- End
-
- CcWCode
- G<3> I<Ival> J<Jval> X<H> Y<V>
- End
-
- 1stToolChange
- G<0> X<H> Y<V> u<H2> v<V2>
- M<20>
- M<80> M<82> M<84>
- M<90>
- End
-
- Infeed
- G<1> G<Side> X<H> Y<V> x<H2> y<V2> u<H2> v<V2> H<DComp> F<FRate>
- End
-
- LineCode
- G<1> A<HDist> B<VDist> X<H> Y<V> U<H2> V<V2> u<H2> v<V2> F<Frate>
- end
-
- RapidCode
- G<0> A<HDist> B<VDist> X<H> Y<V> u<H2> v<V2>
- end
-
- Outfeed
- G<0> G<40> A<HDist> B<VDist> X<H> Y<V> U<H2> V<V2>
- end
-
- ToolChange
- G<0> X<H> Y<V>
- End
-
- EndCode
- M<2>
- %<0>
- End
-
- name Sodick EDM 4 Axis
-
- : >4
- N 4
- G 2
- g 2 G
- X ->3.>4
- Y ->3.>4
- I ->3.>4
- J ->3.>4
- K ->3.>4
- L ->3.>4
- U ->3.>5 IncFrom X
- V ->3.>5 IncFrom Y
- A >3.>4
- Q >4
- R ->3.>4
- P 4
- F >3.>2
- H >4
- D >2
- T 2
- M 2
- S >4
- C 3
-
- ModalGs 0 1 2 3 # List of g codes that are modal
-
- Sequence#s N 1 5 5 # Char, freq, incr & start
- First#? N # Y or N 'Output 1st sequence no.
- Last#? N # Y or N 'Output last sequence no.
-
- HCode X U # X or X U 'Horizontal char.
- VCode Y V # Y or Y V 'Vertical char.
- Feedcode F # Feed rate char.
- Comment ' # Begin End comment char.
-
- Spindle 3 4 5 # Cw, ccw & stop m codes
- Coolant 17 27 17 # On, Off & Mist m codes
- DComp 41 42 40 # Left, Right & Cancel m codes
- LComp 43 49 # On & Off codes
-
- Feed G1 # Linear move
- Rapid G0 # Rapid positioning word
- Cw G2 # Circular move clockwise
- Ccw G3 # Circular move counter clockwise
-
- Inc/Abs G 91 90 # Inc & Abs char. & values
-
- Spaces? Y # Y or N 'Spaces between words
-
- Incremental? N # Y or N 'Inc or abs output
- CtrIncremental? Y # Y or N 'Inc or abs I & J
- ByQuadrants? N # Y or N 'Break arcs at quadrants
- CtrCode I J K L
- UppercaseComments? Y # Y or N 'Require uppercase comments
-
- MaxRad 999 .0005 # Chordal breakdown value
- ArcWithSame? N # Support XY/UV arc records
- ArcWithLine? N # Support UV arc records
-
- Tolerance .0001
-
- StartCode # Start of the program
- :[Program#]
- G90
- End
-
- 1stToolChange # First tool change
- G[Work]
- G92 X0 Y0
- C207
- G40 H0
- G50 A0
- End
-
- Infeed # Enable cutter comp
- G[Side] X[H] Y[V] U[H2] V[V2]
- end
-
- Outfeed # Disable cutter comp
- G40 G50 G1 X[H] Y[V]
- end
-
- ToolChange # Secondary tool changes
- g91 M5
- T90
- M00
- G90
- G0 X[H] Y[V]
- M00
- End
-
- EndCode # End of the program
- M2
- M99
- End
-